import wsgiref.handlers
from google.appengine.ext import webapp
import admin
import api

# Map URLs to request handler classes
application = webapp.WSGIApplication([('/admin', admin.AdminServer),
                                      ('/api', api.ApiServer),
                                      ('/api', api.ApiServer)],
                                     debug=True)

# Fire it up!
wsgiref.handlers.CGIHandler().run(application)
